package com.lbc.dao.custom;

import com.lbc.bean.entity.News;
import com.lbc.bean.vo.NewsVO;
import com.lbc.dao.generator.NewsMapper;

import java.util.List;

public interface CtNewsMapper extends NewsMapper {
    int increaseLikeCount(Integer newsId);

    int increasePageView(Integer newsId);

    List<NewsVO> selectAll(String searchKey);

    List<NewsVO> selectRandom();
}